home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir34 / ramdsk12.zip / RAMDISK.TXT < prev    next >
Text File  |  1993-11-27  |  3KB  |  72 lines

  1.  
  2.                                  XMSDSK.EXE
  3.                                      &
  4.                                  EMSDSK.EXE
  5.  
  6.                           Franck UBERTO - 93/11/15
  7.                              Grenoble - FRANCE
  8.                            Email : uberto@esrf.fr
  9.  
  10.  
  11. These utilities are 2 ramdisks. For some people, they surely will  lack  of
  12. some  "bells  and  whistles",  but  I  made them efficient and easy to use.
  13. There are 2 programs because I wanted to optimize size and speed, so one is
  14. for  XMS  and the other one is for EMS.  To get help for running them, just
  15. type : XMSDSK (or EMSDSK) /?.
  16.  
  17. You can use them on 286  and  upper  (use  EMSDSK86  for  8086  cpu).  Once
  18. installed they will occupy about 400 bytes. I have performed some tests and
  19. I found them not so  bad  compared  with  concurrents  (even  well  known).
  20. Surprisingly  I  discovered  that  EMS ramdisk is a bit faster than its XMS
  21. counterpart on 386+ (with EMM386).
  22.  
  23. You can resize the disk (down to zero, or up to all memory) at any time and
  24. so  regain  memory  for another usage. This is possible on DOS command line
  25. but *NOT* under WINDOWS because of virtualization. The  transient  part  of
  26. EXE will calculate all parameters for new size disk (I use the same ones as
  27. MS-DOS for hard disk, so they should be convenient for all cases).
  28.  
  29. Take care, if you shell out of a DOS program and modify  the  size  of  the
  30. disk  :  in  the case you have set TEMP (or TMP) variable on the ramdisk or
  31. you have told this program to use the ramdisk, then some (hidden) files may
  32. have been created and some (not) pleasant things can happen.
  33.  
  34. These two EXE are in fact some mixing of SYS and COM files.  Resident  part
  35. is   written   in   assembler   (for   optimization)   and  transient  part
  36. (initialization of driver and size modification) in C (for simplicity). For
  37. this  I  have  to modify the startup code of my compiler because the driver
  38. part (resident and installation code) must be placed before it. So  at  the
  39. end you have :
  40.  
  41.     - resident part of driver in assembler
  42.     - initialization of driver in C
  43.     - C startup code in assembler
  44.     - size modification part in C
  45.  
  46. Well all this to say that some day I will release source code, but for the
  47. moment you can use and distribute these files : it's freeware.
  48.  
  49.  So ENJOY ...
  50.  
  51.  
  52.  * Examples
  53.  
  54.  device[high]='path'\XMSDSK.EXE [size] (or EMSDSK.EXE)
  55.     Install ramdisk in config.sys. If size is not specified then 512 Ko is
  56.     requested.
  57.  
  58.  XMSDSK (or EMSDSK)
  59.     On DOS command line, tells you the size and drive used by the ramdisk.
  60.  
  61.  XMSDSK size (or EMSDSK)
  62.     Modify the size of the ramdisk.
  63.  
  64.  echo y | XMSDSK size (or EMSDSK)
  65.     In autoexec.bat, modify, without prompting, the size of the ramdisk.
  66.  
  67.  * History
  68.  
  69.     v1.0 (May 92)    Initial version.
  70.     v1.1 (June 92)    Adds some optimization in resident part.
  71.     v1.2 (Oct. 93)    Adds some tests in size modification part.
  72.